﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FieldUpdate.aspx.cs" Inherits="BEGDC.CC.Web.EZVisit.SystemTools.FieldUpdate" %>

<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="atlas" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/global.css" type="text/css" rel="stylesheet" />
    <link href="../../css/main.css" type="text/css" rel="stylesheet" />
    <link href="../../css/style.css" type="text/css" rel="stylesheet" />

    <script src="../../js/jquery-1.4.4.min.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <atlas:ScriptManager ID="scriptmanager" EnablePartialRendering="true" runat="Server">
    </atlas:ScriptManager>
    <div class="mainbox">
        <div class="sitemapbox">
            <div class="sitemap">
                <span class="sitemap_root">&raquo;System Tools &nbsp;&raquo;Field Upload Tool </span>
            </div>
        </div>
        <%-- Empty DIV for clearing float. Can be replaced by CSS ":after". --%>
        <div style="clear: left">
        </div>
        <div class="tabbox purplebg_dark ">
            <ul class="tabpos">
                <li><span class="tab_active">Field Upload Tool 字段更新工具</span></li></ul>
        </div>
        <div class="tabcontent">
            <div class="formbox padding_top5 ">
                <asp:Button ID="btnQuery" runat="server" Class="btn" isvalidate="true" Text="Pre Check (预检查)" />
                <asp:Button ID="btnExecute" runat="server" Class="btn" isvalidate="true" Text="Execute (执行)" confirm="Do you confirm to execute?"
                    OnClick="btnExecute_Click" />
            </div>
            <table cellspacing="2" cellpadding="0" width="100%" border="0">
                <tr>
                    <td  class="padding5" >
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr  class="ev-row2">
                                <td width="100" class="title">
                                    <asp:Label ID="Label1" runat="server" Text="Command Type："></asp:Label>
                                </td>
                                <td class="val">
                                    <asp:DropDownList ID="ddlCommandType" runat="server" CssClass="width146" AutoPostBack="true" OnSelectedIndexChanged="ddlCommandType_SelectedIndexChanged">
                                        <asp:ListItem Text="Select" Value="Select"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="Update" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="Delete"></asp:ListItem>
                                        <asp:ListItem Text="Insert" Value="Insert"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr id="trTableName" runat="server" class="ev-row2">
                                <td class="title">
                                    <asp:Label ID="Label13" runat="server" Text="Table Name："></asp:Label>
                                </td>
                                <td class="val">
                                    <asp:TextBox ID="txtTableName" runat="server" Width="620px" MaxLength="300" CssClass="cssText" AllowEmpty="false"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="trColumnName" runat="server" class="ev-row2">
                                <td class="title">
                                    <asp:Label ID="Label2" runat="server" Text="Column Name："></asp:Label>
                                </td>
                                <td class="val">
                                    <asp:TextBox ID="txtColumnName" runat="server" Width="620px" MaxLength="300" CssClass="cssText" AllowEmpty="false" TextMode="MultiLine"
                                        Rows="2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="trFieldValue" runat="server" class="ev-row2">
                                <td class="title">
                                    <asp:Label ID="Label3" runat="server" Text="Field Value："></asp:Label>
                                </td>
                                <td class="val">
                                    <asp:TextBox ID="txtFieldValue" runat="server" Width="620px" MaxLength="300" CssClass="cssText" AllowEmpty="false" TextMode="MultiLine"
                                        Rows="2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="trWhere" runat="server" class="ev-row2">
                                <td class="title">
                                    <asp:Label ID="Label4" runat="server" Text="Where："></asp:Label>
                                </td>
                                <td class="val">
                                    <asp:TextBox ID="txtWhere" runat="server" Width="620px" MaxLength="300" CssClass="cssText" AllowEmpty="false" TextMode="MultiLine"
                                        Rows="2"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="98%" border="0" cellpadding="0" cellspacing="2">
                            <tr>
                                <td>
                                    <telerik:RadGrid ID="gvMasterData" runat="server" PageSize="3" AllowSorting="True" Width="100%" AllowMultiRowSelection="false"
                                        AllowPaging="True" AutoGenerateColumns="true" GridLines="both" EnableEmbeddedSkins="true">
                                        <PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="true"></PagerStyle>
                                        <MasterTableView Width="100%" BorderWidth="1" CssClass="tablestyle">
                                            <RowIndicatorColumn Visible="True">
                                                <HeaderStyle CssClass="thead"></HeaderStyle>
                                            </RowIndicatorColumn>
                                            <ExpandCollapseColumn>
                                                <HeaderStyle CssClass="thead"></HeaderStyle>
                                            </ExpandCollapseColumn>
                                            <Columns>
                                            </Columns>
                                        </MasterTableView>
                                        <ClientSettings>
                                            <Selecting AllowRowSelect="True"></Selecting>
                                        </ClientSettings>
                                    </telerik:RadGrid>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>